<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class cphplib</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class cphplib</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">cphplib class</p>
		<p class="notes">
			Located in <a class="field" href="_cphplib_inc.html">/cphplib.inc</a> (line <span class="field"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a57">57</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../cphplib/cphplib_formular.html">cphplib_formular</a></td>
					<td>
											cphplib formular extention
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
								<div class="var-title">
					<span class="var-type">char</span>
					<a href="#$date_format" title="details" class="var-name">$date_format</a>
				</div>
								<div class="var-title">
					<span class="var-type">resource</span>
					<a href="#$db" title="details" class="var-name">$db</a>
				</div>
								<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$db_type" title="details" class="var-name">$db_type</a>
				</div>
								<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$error_level" title="details" class="var-name">$error_level</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$error_user_function" title="details" class="var-name">$error_user_function</a>
				</div>
								<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$image_url" title="details" class="var-name">$image_url</a>
				</div>
								<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$locale" title="details" class="var-name">$locale</a>
				</div>
								<div class="var-title">
					<span class="var-type">bool</span>
					<a href="#$mod_rewrite" title="details" class="var-name">$mod_rewrite</a>
				</div>
								<div class="var-title">
					<span class="var-type">bool</span>
					<a href="#$m_dbsession_cookies" title="details" class="var-name">$m_dbsession_cookies</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$m_dbsession_detail_table" title="details" class="var-name">$m_dbsession_detail_table</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$m_dbsession_handler" title="details" class="var-name">$m_dbsession_handler</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$m_dbsession_id" title="details" class="var-name">$m_dbsession_id</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$m_dbsession_id_name" title="details" class="var-name">$m_dbsession_id_name</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$m_dbsession_table" title="details" class="var-name">$m_dbsession_table</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$m_dbsession_timeout" title="details" class="var-name">$m_dbsession_timeout</a>
				</div>
								<div class="var-title">
					<span class="var-type">char</span>
					<a href="#$m_sep_i" title="details" class="var-name">$m_sep_i</a>
				</div>
								<div class="var-title">
					<span class="var-type">char</span>
					<a href="#$m_sep_l" title="details" class="var-name">$m_sep_l</a>
				</div>
								<div class="var-title">
					<span class="var-type">char</span>
					<a href="#$m_sep_s" title="details" class="var-name">$m_sep_s</a>
				</div>
								<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$page_entries" title="details" class="var-name">$page_entries</a>
				</div>
								<div class="var-title">
					<span class="var-type">resource</span>
					<a href="#$sql_like" title="details" class="var-name">$sql_like</a>
				</div>
								<div class="var-title">
					<span class="var-type">char</span>
					<a href="#$time_format" title="details" class="var-name">$time_format</a>
				</div>
								<div class="var-title">
					<span class="var-type">float</span>
					<a href="#$version" title="details" class="var-name">$version</a>
				</div>
								<div class="var-title">
					<span class="var-type">bool</span>
					<a href="#$xhtml" title="details" class="var-name">$xhtml</a>
				</div>
							</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
								
				<div class="method-definition">
											<span class="method-result"><a href="../cphplib/cphplib.html">cphplib</a></span>
										<a href="#cphplib" title="details" class="method-name">cphplib</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$locale</span> = <span class="var-default">"de_DE"</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#age_from_birthday" title="details" class="method-name">age_from_birthday</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$date</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$thisdate</span> = <span class="var-default">""</span>], [<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">"S"</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$fixed</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#array_rsort" title="details" class="method-name">array_rsort</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$a</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$b</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#array_sort" title="details" class="method-name">array_sort</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$a</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$b</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#array_unique" title="details" class="method-name">array_unique</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">&$thearray</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">char</span>
										<a href="#browser_type" title="details" class="method-name">browser_type</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$details</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkBankId" title="details" class="method-name">checkBankId</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$bank_id</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkBirthday" title="details" class="method-name">checkBirthday</a>
											(<span class="var-type">date</span>&nbsp;<span class="var-name">$birthday</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">"S"</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkColor" title="details" class="method-name">checkColor</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkDomainName" title="details" class="method-name">checkDomainName</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$domain</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$tld</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkEAN" title="details" class="method-name">checkEAN</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$ean</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkEmail" title="details" class="method-name">checkEmail</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$email</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_dns</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkHtmlTag" title="details" class="method-name">checkHtmlTag</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkIP" title="details" class="method-name">checkIP</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$addr</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkMAC" title="details" class="method-name">checkMAC</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$addr</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkNumber" title="details" class="method-name">checkNumber</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$number</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$sep</span> = <span class="var-default">"."</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">true</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_null</span> = <span class="var-default">true</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkNumWildcard" title="details" class="method-name">checkNumWildcard</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$number</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$sep</span> = <span class="var-default">","</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkPassword" title="details" class="method-name">checkPassword</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$password</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$min_length</span> = <span class="var-default">5</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$strength</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkPhone" title="details" class="method-name">checkPhone</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$phone</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkString" title="details" class="method-name">checkString</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkUserName" title="details" class="method-name">checkUserName</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$user_name</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$min_length</span> = <span class="var-default">3</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$allow_upper_case</span> = <span class="var-default">true</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#checkZip" title="details" class="method-name">checkZip</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$zip</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#check_php_version" title="details" class="method-name">check_php_version</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$min_ver</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_pear</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#convDate" title="details" class="method-name">convDate</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$date_str</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$src_format</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$dest_format</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$customize</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#convDateTime" title="details" class="method-name">convDateTime</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$datetime</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">""</span>], [<span class="var-type">char</span>&nbsp;<span class="var-name">$time_format</span> = <span class="var-default">""</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_seconds</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$short_mode</span> = <span class="var-default">true</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$at</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#convFirstLetter" title="details" class="method-name">convFirstLetter</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#convHtml" title="details" class="method-name">convHtml</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_trim</span> = <span class="var-default">true</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_link</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#convnumSep" title="details" class="method-name">convnumSep</a>
											(<span class="var-type">float</span>&nbsp;<span class="var-name">$st</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$sep_new</span> = <span class="var-default">"."</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$precision</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$group</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#convTime" title="details" class="method-name">convTime</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$time</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$time_format</span> = <span class="var-default">null</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_seconds</span> = <span class="var-default">true</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">float</span>
										<a href="#convToNum" title="details" class="method-name">convToNum</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$sep_old</span> = <span class="var-default">","</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#convToTimestamp" title="details" class="method-name">convToTimestamp</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$time</span> = <span class="var-default">""</span>], [<span class="var-type">char</span>&nbsp;<span class="var-name">$format</span> = <span class="var-default">""</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#convUmlaute" title="details" class="method-name">convUmlaute</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">true</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#convUrl" title="details" class="method-name">convUrl</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#countdown" title="details" class="method-name">countdown</a>
											(<span class="var-type">date</span>&nbsp;<span class="var-name">$enddate</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#cross_sum" title="details" class="method-name">cross_sum</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$number</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">date</span>
										<a href="#currentDate" title="details" class="method-name">currentDate</a>
											([<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">time</span>
										<a href="#currentTime" title="details" class="method-name">currentTime</a>
											([<span class="var-type">char</span>&nbsp;<span class="var-name">$time_format</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#date2days" title="details" class="method-name">date2days</a>
											(<span class="var-type">date</span>&nbsp;<span class="var-name">$start_date</span>, <span class="var-type">date</span>&nbsp;<span class="var-name">$end_date</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">"S"</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#dbsessionsub_start" title="details" class="method-name">dbsessionsub_start</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$session_subid</span> = <span class="var-default">""</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#dbsession_delete" title="details" class="method-name">dbsession_delete</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#dbsession_end" title="details" class="method-name">dbsession_end</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span> = <span class="var-default">""</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#dbsession_read" title="details" class="method-name">dbsession_read</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#dbsession_start" title="details" class="method-name">dbsession_start</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span> = <span class="var-default">""</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$table_error</span> = <span class="var-default">true</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#dbsession_write" title="details" class="method-name">dbsession_write</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$var_value</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#db_close" title="details" class="method-name">db_close</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">object PEAR</span>
										<a href="#db_connect" title="details" class="method-name">db_connect</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$dsn</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$set_db</span> = <span class="var-default">true</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#db_free_id" title="details" class="method-name">db_free_id</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$where_key</span> = <span class="var-default">""</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$where_value</span> = <span class="var-default">""</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#db_insert_id" title="details" class="method-name">db_insert_id</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#db_next_id" title="details" class="method-name">db_next_id</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#db_seq_id" title="details" class="method-name">db_seq_id</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$seq_name</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#db_version" title="details" class="method-name">db_version</a>
											([<span class="var-type">float</span>&nbsp;<span class="var-name">$mav</span> = <span class="var-default">"3.23"</span>], [<span class="var-type">float</span>&nbsp;<span class="var-name">$miv</span> = <span class="var-default">"6"</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#end_tag" title="details" class="method-name">end_tag</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#fileExtension" title="details" class="method-name">fileExtension</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#file_exists" title="details" class="method-name">file_exists</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#generate_password" title="details" class="method-name">generate_password</a>
											([<span class="var-type">array</span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#get_base_url" title="details" class="method-name">get_base_url</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$urls</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#get_client_ip" title="details" class="method-name">get_client_ip</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#get_filename_from_text" title="details" class="method-name">get_filename_from_text</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#get_fontsizes" title="details" class="method-name">get_fontsizes</a>
											([<span class="var-type">char</span>&nbsp;<span class="var-name">$os_type</span> = <span class="var-default">""</span>], [<span class="var-type">char</span>&nbsp;<span class="var-name">$browser_type</span> = <span class="var-default">""</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#get_id_string" title="details" class="method-name">get_id_string</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_time</span> = <span class="var-default">true</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#get_image_size" title="details" class="method-name">get_image_size</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#get_mod_rewrite_url" title="details" class="method-name">get_mod_rewrite_url</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$prefix</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">""</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$invert_prefix</span> = <span class="var-default">false</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$extension</span> = <span class="var-default">".html"</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#get_user_var" title="details" class="method-name">get_user_var</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var_type</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#hitcounter" title="details" class="method-name">hitcounter</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$r</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$db_open</span> = <span class="var-default">false</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$CONF</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#html_head" title="details" class="method-name">html_head</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$customize</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#html_header" title="details" class="method-name">html_header</a>
											([<span class="var-type">array</span>&nbsp;<span class="var-name">$customize</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#in_multi_array" title="details" class="method-name">in_multi_array</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$needle</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$haystack</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#js_conv" title="details" class="method-name">js_conv</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#killSpace" title="details" class="method-name">killSpace</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#metatag_write" title="details" class="method-name">metatag_write</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">true</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#net_access" title="details" class="method-name">net_access</a>
											([<span class="var-type">array</span>&nbsp;<span class="var-name">$hosts</span> = <span class="var-default">null</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$ips</span> = <span class="var-default">null</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">"client"</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">char</span>
										<a href="#os_type" title="details" class="method-name">os_type</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#pager" title="details" class="method-name">pager</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$current_entry</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$max_entries</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$page_entries</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$image_url</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#rand_value" title="details" class="method-name">rand_value</a>
											([<span class="var-type">int</span>&nbsp;<span class="var-name">$length</span> = <span class="var-default">1</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">""</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#remove_magic_quotes" title="details" class="method-name">remove_magic_quotes</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">&$array</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#rgb2dec" title="details" class="method-name">rgb2dec</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$rgbstr</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#set_format" title="details" class="method-name">set_format</a>
											(<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span>, <span class="var-type">char</span>&nbsp;<span class="var-name">$time_format</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#set_locale" title="details" class="method-name">set_locale</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#set_strings" title="details" class="method-name">set_strings</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#show_dbdate" title="details" class="method-name">show_dbdate</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$dbdate</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$short_mode</span> = <span class="var-default">true</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#show_dbdatetime" title="details" class="method-name">show_dbdatetime</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$dbdate</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_seconds</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$short_mode</span> = <span class="var-default">true</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$at</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#show_error" title="details" class="method-name">show_error</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$function</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$message</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$rc</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#sql_value" title="details" class="method-name">sql_value</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$conv_special_char</span> = <span class="var-default">false</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$active_null</span> = <span class="var-default">1</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#table_header" title="details" class="method-name">table_header</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$cols</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$default_col</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sort</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$base_url</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$customize</span> = <span class="var-default">null</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#text_shorten" title="details" class="method-name">text_shorten</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$max_length</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$dots</span> = <span class="var-default">"..."</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#url" title="details" class="method-name">url</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">""</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">1</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">""</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$customize</span> = <span class="var-default">""</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#url_on_scripthost" title="details" class="method-name">url_on_scripthost</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">timestamp</span>
										<a href="#validate_timestamp" title="details" class="method-name">validate_timestamp</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$timestamp</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
									</div>
							</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$date_format" id="$date_format"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">char</span>
			<span class="var-name">$date_format</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a96">96</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Date format</p>
<p class="description"><p>I	= International date identifier (MM/DD/YYYY)   S	= Science date identifier (YYYY-MM-DD)   C	= Date without seperators (YYYYMMDD)   L	= German date identifier (DD.MM.YYYY)</p></p>
	
	
		
		

</div>
<a name="var$db" id="$db"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">resource</span>
			<span class="var-name">$db</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a142">142</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Database pear object  (mysql or pgsql)</p>
	
	
		
		

</div>
<a name="var$db_type" id="$db_type"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$db_type</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a134">134</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Type of database</p>
	
	
		
		

</div>
<a name="var$error_level" id="$error_level"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$error_level</span>
			 = <span class="var-default"> 2</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a75">75</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Error level</p>
<p class="description"><p>0: show no error message   1: only print message   2: die, if error occurres   3: user defined function (callback) =&gt; error_user_function required</p></p>
	
	
		
		

</div>
<a name="var$error_user_function" id="$error_user_function"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$error_user_function</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a84">84</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">User defined function</p>
<p class="description"><p>Required for error_level=3</p></p>
	
	
		
		

</div>
<a name="var$image_url" id="$image_url"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$image_url</span>
			 = <span class="var-default"> &quot;images&quot;</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a177">177</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Image URL to all images</p>
	
	
		
		

</div>
<a name="var$locale" id="$locale"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$locale</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a113">113</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">locale to use (see &quot;man locale&quot;)</p>
	
	
		
		

</div>
<a name="var$mod_rewrite" id="$mod_rewrite"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">bool</span>
			<span class="var-name">$mod_rewrite</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a201">201</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">take special care for mod_rewrite</p>
<p class="description"><p>at the moment only url() is supported</p></p>
	
	
		
		

</div>
<a name="var$m_dbsession_cookies" id="$m_dbsession_cookies"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">bool</span>
			<span class="var-name">$m_dbsession_cookies</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a192">192</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">cookies can be used for dbsession</p>
	
	
		
		

</div>
<a name="var$m_dbsession_detail_table" id="$m_dbsession_detail_table"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$m_dbsession_detail_table</span>
			 = <span class="var-default"> &quot;dbsession_detail&quot;</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a184">184</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$m_dbsession_handler" id="$m_dbsession_handler"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$m_dbsession_handler</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a180">180</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$m_dbsession_id" id="$m_dbsession_id"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$m_dbsession_id</span>
			 = <span class="var-default"> &quot;&quot;</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a181">181</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$m_dbsession_id_name" id="$m_dbsession_id_name"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$m_dbsession_id_name</span>
			 = <span class="var-default"> &quot;SID&quot;</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a182">182</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$m_dbsession_table" id="$m_dbsession_table"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$m_dbsession_table</span>
			 = <span class="var-default"> &quot;dbsession&quot;</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a183">183</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$m_dbsession_timeout" id="$m_dbsession_timeout"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$m_dbsession_timeout</span>
			 = <span class="var-default"> 60</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a185">185</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$m_sep_i" id="$m_sep_i"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">char</span>
			<span class="var-name">$m_sep_i</span>
			 = <span class="var-default"> &quot;/&quot;</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a156">156</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">International seperator</p>
	
	
		
		

</div>
<a name="var$m_sep_l" id="$m_sep_l"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">char</span>
			<span class="var-name">$m_sep_l</span>
			 = <span class="var-default"> &quot;.&quot;</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a170">170</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">German seperator</p>
	
	
		
		

</div>
<a name="var$m_sep_s" id="$m_sep_s"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">char</span>
			<span class="var-name">$m_sep_s</span>
			 = <span class="var-default"> &quot;-&quot;</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a163">163</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Science seperator</p>
	
	
		
		

</div>
<a name="var$page_entries" id="$page_entries"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$page_entries</span>
			 = <span class="var-default"> 20</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a127">127</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Max. entries on one page of a list</p>
	
	
		
		

</div>
<a name="var$sql_like" id="$sql_like"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">resource</span>
			<span class="var-name">$sql_like</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a149">149</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">like not case sensitive for SQL</p>
	
	
		
		

</div>
<a name="var$time_format" id="$time_format"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">char</span>
			<span class="var-name">$time_format</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a106">106</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Time format</p>
<p class="description"><p>Y = 24 hours mode 	N = 12 hours mode</p></p>
	
	
		
		

</div>
<a name="var$version" id="$version"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">float</span>
			<span class="var-name">$version</span>
			 = <span class="var-default"> &quot;0.50&quot;</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a64">64</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">cphplib version</p>
	
	
		
		

</div>
<a name="var$xhtml" id="$xhtml"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">bool</span>
			<span class="var-name">$xhtml</span>
			 = <span class="var-default"> true</span>			(line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a120">120</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">xhtml output</p>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodcphplib" id="cphplib"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor cphplib</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a209">209</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">constructor</p>
	
	<div class="method-signature">
		<span class="method-result"><a href="../cphplib/cphplib.html">cphplib</a></span>
		<span class="method-name">
			cphplib
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$locale</span> = <span class="var-default">"de_DE"</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$locale</span><span class="var-description">: if no empty, locale and string will be initialised</span>			</li>
				</ul>
		
		
	</div>
<a name="methodage_from_birthday" id="age_from_birthday"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">age_from_birthday</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3146">3146</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">computes the exact age (considering leap years!) of the person born on  the specified birthday measured from today or a specified date</p>
	<ul class="tags">
				<li><span class="field">return:</span> age of person, returns &quot;&quot; if the person is not born yet or the date is wrong!                                     (returns &quot;born&quot;-string, if the age is exactly 0)</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			age_from_birthday
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$date</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$thisdate</span> = <span class="var-default">""</span>], [<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">"S"</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$fixed</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$date</span><span class="var-description">: Date on which the person was born</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$thisdate</span><span class="var-description">: Date from which the age is measured (default: today)</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$date_format</span><span class="var-description">: Format of the date and thisdate strings (default: &quot;S&quot;cience format)</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$fixed</span><span class="var-description">: if true, age of current year will be returned {default: false}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodarray_rsort" id="array_rsort"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">array_rsort</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1231">1231</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">reverse sort array (subfunction for usort)</p>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			array_rsort
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$a</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$b</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$a</span><span class="var-description">: keys</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$b</span><span class="var-description">: values</span>			</li>
				</ul>
		
		
	</div>
<a name="methodarray_sort" id="array_sort"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">array_sort</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1207">1207</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">sort array (subfunction for usort)</p>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			array_sort
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$a</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$b</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$a</span><span class="var-description">: keys</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$b</span><span class="var-description">: values</span>			</li>
				</ul>
		
		
	</div>
<a name="methodarray_unique" id="array_unique"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">array_unique</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1180">1180</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes duplicate values from an array (recursive)              (this function is much slower than the internal php function)</p>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			array_unique
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">&$thearray</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$thearray</span><span class="var-description">: array to unique</span>			</li>
				</ul>
		
		
	</div>
<a name="methodbrowser_type" id="browser_type"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">browser_type</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2876">2876</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns type of browser</p>
	<ul class="tags">
				<li><span class="field">return:</span> array if details is true, or char:                                 m = Mozilla (and all clones)                                 i = Internet Explorer                                 n = Netscape <ul><li>= Opera</li></ul>                                k = Konqueror                                 &quot;&quot; = unknown</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">char</span>
		<span class="method-name">
			browser_type
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$details</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$details</span><span class="var-description">: true    = return array with browser type and                                           gecko engine version (only available for Mozilla based browsers)                                            browser_type  = browser type                                            gecko_version = gecko version integer {default: 0}                                   false    = return letter for browser type {default: false}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckBankId" id="checkBankId"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">checkBankId</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2025">2025</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate German Bankleitzahl  ( allowed seperators: &quot;-&quot;, &quot;.&quot; or &quot; &quot;)</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkBankId
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$bank_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$bank_id</span><span class="var-description">: bank id (German BLZ) to validate</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckBirthday" id="checkBirthday"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">checkBirthday</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2042">2042</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check birthday</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkBirthday
		</span>
					(<span class="var-type">date</span>&nbsp;<span class="var-name">$birthday</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">"S"</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">date</span>
				<span class="var-name">$birthday</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$date_format</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckColor" id="checkColor"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">checkColor</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2211">2211</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">check if string is a valid color value for HTML and CSS</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkColor
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: string to validate</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckDomainName" id="checkDomainName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">checkDomainName</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2107">2107</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate domain name</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkDomainName
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$domain</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$tld</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$domain</span><span class="var-description">: domain name</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$tld</span><span class="var-description">: top level domain</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckEAN" id="checkEAN"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">checkEAN</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3483">3483</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Verify EAN</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkEAN
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$ean</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$ean</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: type of EAN: {default: EAN13}                             EAN8,EAN13,EAN14,UPC12,ILN,NVE18</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckEmail" id="checkEmail"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">checkEmail</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2062">2062</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate email address format</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkEmail
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$email</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_dns</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$email</span><span class="var-description">: email address</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$with_dns</span><span class="var-description">: true for dns check {default: false}                                 (only works on non-windows platforms)</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckHtmlTag" id="checkHtmlTag"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">checkHtmlTag</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2197">2197</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">check if a string has HTML tags</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if string has html tags</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkHtmlTag
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: string to validate</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckIP" id="checkIP"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">checkIP</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2137">2137</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate IP address</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if valid</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkIP
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$addr</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$addr</span><span class="var-description">: IP address to validate</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckMAC" id="checkMAC"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">checkMAC</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2167">2167</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate MAC address</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkMAC
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$addr</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$addr</span><span class="var-description">: MAC address to validate</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckNumber" id="checkNumber"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">checkNumber</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2237">2237</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">is string a valid number?</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkNumber
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$number</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$sep</span> = <span class="var-default">"."</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">true</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_null</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$number</span><span class="var-description">: number to validate</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$sep</span><span class="var-description">: valid seperator {default: &quot;.&quot;}</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: if true, with negative numbers {default: true}</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$with_null</span><span class="var-description">: if true, number &quot;0&quot; is valid {default: true}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckNumWildcard" id="checkNumWildcard"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">checkNumWildcard</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1977">1977</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate number (positiv) with wildcards</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkNumWildcard
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$number</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$sep</span> = <span class="var-default">","</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$number</span><span class="var-description">: number to validate</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$sep</span><span class="var-description">: valid seperator {default: &quot;,&quot;}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckPassword" id="checkPassword"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">checkPassword</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2370">2370</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate password format</p>
	<ul class="tags">
				<li><span class="field">return:</span> true for qualified password</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkPassword
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$password</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$min_length</span> = <span class="var-default">5</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$strength</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$password</span><span class="var-description">: password string</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$min_length</span><span class="var-description">: minimal length of password {default: 5}</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$strength</span><span class="var-description">: 0: no special rules    {default}                                         1: at least one number and one char                                         2: same as 1 and at least one lowercase and and uppercase letter                                         3: same as 2 and at least one special character</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckPhone" id="checkPhone"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">checkPhone</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1993">1993</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate phone number</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkPhone
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$phone</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$phone</span><span class="var-description">: phone number to validate</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckString" id="checkString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">checkString</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2415">2415</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate string with letters only</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkString
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: tring to validate</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: true for German Umlaute include {default: false}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckUserName" id="checkUserName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">checkUserName</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2283">2283</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate user name  (only alpha-numeric, '_' and '-' (but not as first sign,  because some systems has problems with this) are allowed)</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkUserName
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$user_name</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$min_length</span> = <span class="var-default">3</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$allow_upper_case</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$user_name</span><span class="var-description">: user to validate</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$min_length</span><span class="var-description">: minimal length of username {default: 3}</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$allow_upper_case</span><span class="var-description">: true    : case insensitive    {default: true}                                         false    : upper letters are not allowed</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheckZip" id="checkZip"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">checkZip</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2010">2010</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate post zip code</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			checkZip
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$zip</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$zip</span><span class="var-description">: zip to validate</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcheck_php_version" id="check_php_version"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">check_php_version</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2305">2305</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">checks version of php and if pear is installed</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			check_php_version
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$min_ver</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_pear</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$min_ver</span><span class="var-description">: oldest php version, which is allowed</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$with_pear</span><span class="var-description">: true: if pear must installed {default: false}</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: true: die with message {default: false}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvDate" id="convDate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">convDate</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1744">1744</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert date format</p>
	<ul class="tags">
				<li><span class="field">return:</span> date or {if wrong input) empty</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			convDate
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$date_str</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$src_format</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$dest_format</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$customize</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$date_str</span><span class="var-description">: date to convert</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$src_format</span><span class="var-description">: see member variables $this-&gt;date_format above</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$dest_format</span><span class="var-description">: see member variables $this-&gt;date_format above or 'short' or 'long'</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$customize</span><span class="var-description">: year_format string = long : e.g. 2002 {default}                                                           short: e.g. 02                                                           void : e.g.                                        leading_zeros bool = true : e.g. 01 {default}                                                           false: e.g. 1                                     with_weekday bool    = true:  with weekday                                                             false: without weekdays                                                                   (only available if dest_format is short or long)                                     locale string        = see member variables m_locale above                                     first_valid_year    = first valid year, if specified date is before, it will be signed                                                              as invalid {default: 1850}                                     short_mode            = if today, yesterday or tomorrow                                                            show string for date {default: false}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvDateTime" id="convDateTime"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">convDateTime</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1693">1693</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convert datetime format</p>
	<ul class="tags">
				<li><span class="field">return:</span> datetime in converted format</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			convDateTime
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$datetime</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">""</span>], [<span class="var-type">char</span>&nbsp;<span class="var-name">$time_format</span> = <span class="var-default">""</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_seconds</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$short_mode</span> = <span class="var-default">true</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$at</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$datetime</span><span class="var-description">: db datetime field format</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$date_format</span><span class="var-description">: see member variable m_date above</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$time_format</span><span class="var-description">: see member variable m_time above</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$with_seconds</span><span class="var-description">: show seconds</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$short_mode</span><span class="var-description">: if today, yesterday or tomorrow                                     show string for date</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$at</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvFirstLetter" id="convFirstLetter"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">convFirstLetter</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2607">2607</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convert first letter to upper or lower</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			convFirstLetter
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: string to convert</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: true for upper, false for lower</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvHtml" id="convHtml"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">convHtml</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2511">2511</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convert ascii string to HTML string  (because of a bug, it is better to set magic_quotes_gpc=Off in your php.ini)</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			convHtml
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_trim</span> = <span class="var-default">true</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_link</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: string to convert</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: true : html-&gt;ascii                                 false: ascii-&gt;html {default}</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$with_trim</span><span class="var-description">: true : cut off whitespaces before and after the string {default}                                 false: leave string with whitespaces</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$with_link</span><span class="var-description">: true : allow HTML links                                        (you have to use [url=http://mydomain.com/]thebest[/url] syntax or                                        [mail=me@mydomain.com]Me[/mail]                                        (at the moment it works only in ascii-&gt;html))                                 false: disallow HTML links {default}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvnumSep" id="convnumSep"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">convnumSep</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1478">1478</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convert seperator in number and fill number to specified length</p>
	<ul class="tags">
				<li><span class="field">return:</span> converted string with number</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			convnumSep
		</span>
					(<span class="var-type">float</span>&nbsp;<span class="var-name">$st</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$sep_new</span> = <span class="var-default">"."</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$precision</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$group</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">float</span>
				<span class="var-name">$st</span><span class="var-description">: number to convert</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$sep_new</span><span class="var-description">: new seperator {default: &quot;.&quot;}</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$precision</span><span class="var-description">: numbers behind seperator  {default: 0 }                                 (filling with 0; this function doesn't cut or round numbers)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$group</span><span class="var-description">: if set, this group seperator will be used</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvTime" id="convTime"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">convTime</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1604">1604</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate time format and convert it into right format</p>
	<ul class="tags">
				<li><span class="field">return:</span> converted time, if wrong input false</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			convTime
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$time</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$time_format</span> = <span class="var-default">null</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_seconds</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$time</span><span class="var-description">: time to convert</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$time_format</span><span class="var-description">: see member variable $this-&gt;time_format above</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$with_seconds</span><span class="var-description">: if false, don't return seconds {default: true}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvToNum" id="convToNum"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">convToNum</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1436">1436</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convert string to number while converting old seperator with &quot;.&quot;</p>
	
	<div class="method-signature">
		<span class="method-result">float</span>
		<span class="method-name">
			convToNum
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$sep_old</span> = <span class="var-default">","</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: string to convert {default: &quot;,&quot;}</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sep_old</span><span class="var-description">: old seperator</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvToTimestamp" id="convToTimestamp"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">convToTimestamp</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1556">1556</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate time format and convert it into right format</p>
	<ul class="tags">
				<li><span class="field">return:</span> converted time, if wrong input false</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			convToTimestamp
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$time</span> = <span class="var-default">""</span>], [<span class="var-type">char</span>&nbsp;<span class="var-name">$format</span> = <span class="var-default">""</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$time</span><span class="var-description">: time (or date) to convert, if empty NOW will be used</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$format</span><span class="var-description">: if empty or time, e.g. 19:45:59                             datetime, e.g. 2002-07-20 21:02:55</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvUmlaute" id="convUmlaute"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">convUmlaute</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2440">2440</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convert German Umlaute to HTML and vice versa</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			convUmlaute
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: string to convert</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: true:    convert to HTML                             false:    from HTML</span>			</li>
				</ul>
		
		
	</div>
<a name="methodconvUrl" id="convUrl"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">convUrl</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3073">3073</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">checks for protocol, if missing http will be used</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			convUrl
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcountdown" id="countdown"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">countdown</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3094">3094</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">counts days till specified day</p>
	<ul class="tags">
				<li><span class="field">return:</span> days till specified date</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			countdown
		</span>
					(<span class="var-type">date</span>&nbsp;<span class="var-name">$enddate</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">date</span>
				<span class="var-name">$enddate</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcross_sum" id="cross_sum"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">cross_sum</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3058">3058</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return cross sum of a number</p>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			cross_sum
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$number</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$number</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcurrentDate" id="currentDate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">currentDate</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1254">1254</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the current date</p>
	
	<div class="method-signature">
		<span class="method-result">date</span>
		<span class="method-name">
			currentDate
		</span>
					([<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$date_format</span><span class="var-description">: see member variables $this-&gt;date_format below</span>			</li>
				</ul>
		
		
	</div>
<a name="methodcurrentTime" id="currentTime"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">currentTime</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1274">1274</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the current time</p>
	
	<div class="method-signature">
		<span class="method-result">time</span>
		<span class="method-name">
			currentTime
		</span>
					([<span class="var-type">char</span>&nbsp;<span class="var-name">$time_format</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$time_format</span><span class="var-description">: see member variable $this-&gt;time_format below</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddate2days" id="date2days"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">date2days</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1376">1376</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">calculates days to a given date</p>
	<ul class="tags">
				<li><span class="field">return:</span> number of days, if date is out of range -1</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			date2days
		</span>
					(<span class="var-type">date</span>&nbsp;<span class="var-name">$start_date</span>, <span class="var-type">date</span>&nbsp;<span class="var-name">$end_date</span>, [<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span> = <span class="var-default">"S"</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">date</span>
				<span class="var-name">$start_date</span><span class="var-description">: first date</span>			</li>
					<li>
				<span class="var-type">date</span>
				<span class="var-name">$end_date</span><span class="var-description">: last date</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$date_format</span><span class="var-description">: see member variables $this-&gt;date_format below</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddbsessionsub_start" id="dbsessionsub_start"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">dbsessionsub_start</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a669">669</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">starts sub session within a session. You can use it to group the session  in different parts  Required   : read README file</p>
	<ul class="tags">
				<li><span class="field">return:</span> session_subid</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			dbsessionsub_start
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$session_subid</span> = <span class="var-default">""</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$session_id</span><span class="var-description">: session id to use (main session)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$session_subid</span><span class="var-description">: session_subid.  If empty new unique id                                     will be generated if required</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddbsession_delete" id="dbsession_delete"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">dbsession_delete</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a876">876</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">unregister variable in dbsession  Required   : read README file</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if successfully removed variable</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			dbsession_delete
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$session_id</span><span class="var-description">: session id which will be used for the variabel</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$var_name</span><span class="var-description">: variable to remove</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddbsession_end" id="dbsession_end"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">dbsession_end</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a728">728</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">ends dbsession or dbsessionsub  (Read the README file for requirements)</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if successfully end dbsession</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			dbsession_end
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span> = <span class="var-default">""</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$session_id</span><span class="var-description">: session id which should end ( and expired dbsession will automatically be removed)</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddbsession_read" id="dbsession_read"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">dbsession_read</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a839">839</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">register variable in dbsession</p>
	<ul class="tags">
				<li><span class="field">return:</span> value of variable</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			dbsession_read
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$session_id</span><span class="var-description">: session id to use</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$var_name</span><span class="var-description">: name of variable</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddbsession_start" id="dbsession_start"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">dbsession_start</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a543">543</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">starts dbsession. Enables session fallback handling. This functions</p>
<p class="description"><p>will be required, if you want to handle the session_id with  url or formstart  Required	: read README file</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> session_id</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			dbsession_start
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span> = <span class="var-default">""</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$table_error</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$session_id</span><span class="var-description">: session id to use, if empty new unique id                                   will be generated</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$table_error</span><span class="var-description">: show error message, if dbsession tables doesn't exist</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddbsession_write" id="dbsession_write"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">dbsession_write</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a786">786</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">register variable in dbsession  Required   : read README file</p>
	<ul class="tags">
				<li><span class="field">return:</span> value of variable</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			dbsession_write
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$session_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$var_value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$session_id</span><span class="var-description">: session id to use</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$var_name</span><span class="var-description">: variable to add</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$var_value</span><span class="var-description">: value of variable</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddb_close" id="db_close"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">db_close</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a340">340</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">disconnect current database connection              (change $this-&gt;db for select the right one, if you               use more the one connection)</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if no errors occurred, otherwise false</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			db_close
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methoddb_connect" id="db_connect"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">db_connect</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a295">295</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Opens a connection to a database server and select database  Furthermore it sets $this-&gt;db to the PEAR database object,  which is required for dbsession</p>
	<ul class="tags">
				<li><span class="field">return:</span> database object</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">object PEAR</span>
		<span class="method-name">
			db_connect
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$dsn</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$set_db</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$dsn</span><span class="var-description">: Data Source Name ( for more information see PEAR documentation)                             addon array key:                                 persistent    = true for persistent {default: false}</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$set_db</span><span class="var-description">: if true, db object will be set to $this-&gt;db                             (and db_tyle and sql_like, too)</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddb_free_id" id="db_free_id"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">db_free_id</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a447">447</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get number of lowest unused number in a column)</p>
	<ul class="tags">
				<li><span class="field">return:</span> lowest unused number in a column</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			db_free_id
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$where_key</span> = <span class="var-default">""</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$where_value</span> = <span class="var-default">""</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$table</span><span class="var-description">: database table to use</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: database column to use</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$where_key</span><span class="var-description">: database column name for limitation {default: void}</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$where_value</span><span class="var-description">: limitation value {default: void}</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddb_insert_id" id="db_insert_id"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">db_insert_id</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a355">355</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the id generated from the previous INSERT operation</p>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			db_insert_id
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methoddb_next_id" id="db_next_id"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">db_next_id</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a380">380</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get next available number</p>
	<ul class="tags">
				<li><span class="field">return:</span> highst number in column + 1</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			db_next_id
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$table</span><span class="var-description">: database table to use</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: database column to use</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$where</span><span class="var-description">: SQL WHERE restriction, e.g. &quot;thisvalue&gt;0&quot;                                 (without &quot;WHERE&quot; in string!)</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddb_seq_id" id="db_seq_id"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">db_seq_id</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a412">412</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get next available number</p>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			db_seq_id
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$seq_name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$seq_name</span><span class="var-description">: name of sequence</span>			</li>
				</ul>
		
		
	</div>
<a name="methoddb_version" id="db_version"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">db_version</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a494">494</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">check right database version</p>
	<ul class="tags">
				<li><span class="field">return:</span> active database version, if false empty</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			db_version
		</span>
					([<span class="var-type">float</span>&nbsp;<span class="var-name">$mav</span> = <span class="var-default">"3.23"</span>], [<span class="var-type">float</span>&nbsp;<span class="var-name">$miv</span> = <span class="var-default">"6"</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">float</span>
				<span class="var-name">$mav</span><span class="var-description">: major release number {default: 3.23}</span>			</li>
					<li>
				<span class="var-type">float</span>
				<span class="var-name">$miv</span><span class="var-description">: minor release number {default: 6}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodend_tag" id="end_tag"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">end_tag</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2621">2621</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return end tag for formular objects  attending xhtml settings ($this-&gt;xhtml)</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			end_tag
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methodfileExtension" id="fileExtension"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">fileExtension</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1408">1408</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">return file extension</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			fileExtension
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
				</ul>
		
		
	</div>
<a name="methodfile_exists" id="file_exists"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">file_exists</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1943">1943</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Checks whether a file or directory exists (also checks the include_path in php.ini)</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			file_exists
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
				</ul>
		
		
	</div>
<a name="methodgenerate_password" id="generate_password"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">generate_password</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3223">3223</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">generate password with specified characteristics</p>
	<ul class="tags">
				<li><span class="field">return:</span> generated password string                                     (if an error occurred, false)</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			generate_password
		</span>
					([<span class="var-type">array</span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$options</span><span class="var-description">: options array:                                      min_length        = min. length of password {default: 8}                                      max_length        = max. length of password {default: 8}                                      exclude_signs    = string with forbiddenen signs                                      include_signs    = string with signs, which have to been used                                      exclude_pwd        = this password is forbidden                                      with_numbers    = password has to use at least one number {true}                                      with_lowers        = password has to use at least one lower letter {true}                                      with_uppers        = password has to use at least one upper letter {true}                                      with_signs        = password has to use at least one special char {true}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodget_base_url" id="get_base_url"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_base_url</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3875">3875</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Calculate active URL of an array for validation  (can be used for multi URL sites (e.g. dyndns)</p>
	<ul class="tags">
				<li><span class="field">return:</span> validated base url</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			get_base_url
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$urls</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$urls</span><span class="var-description">: an url or an array of urls</span>			</li>
				</ul>
		
		
	</div>
<a name="methodget_client_ip" id="get_client_ip"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_client_ip</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3449">3449</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">get the ip address from the client, even if the client is befind a proxy  (it doesn't work with transparent proxy!)</p>
	<ul class="tags">
				<li><span class="field">return:</span> ip address of the client</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			get_client_ip
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methodget_filename_from_text" id="get_filename_from_text"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_filename_from_text</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a4028">4028</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Cleanup text from invalid characters for filename</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			get_filename_from_text
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
		
	</div>
<a name="methodget_fontsizes" id="get_fontsizes"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_fontsizes</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2979">2979</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">calculates CSS font sizes. This is a small solution, that the appearance looks similar  with different browser types and operating systems</p>
	<ul class="tags">
				<li><span class="field">return:</span> array with css font sizes</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			get_fontsizes
		</span>
					([<span class="var-type">char</span>&nbsp;<span class="var-name">$os_type</span> = <span class="var-default">""</span>], [<span class="var-type">char</span>&nbsp;<span class="var-name">$browser_type</span> = <span class="var-default">""</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$os_type</span><span class="var-description">: type of operating system {default: 'user agent os'}</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$browser_type</span><span class="var-description">: type of browser          {default: 'user agent os'}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodget_id_string" id="get_id_string"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_id_string</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3429">3429</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">create unique identification string</p>
	<ul class="tags">
				<li><span class="field">return:</span> unique identification string</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			get_id_string
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_time</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$with_time</span><span class="var-description">: true : with timestamp {default}                                 false: without considering time and date</span>			</li>
				</ul>
		
		
	</div>
<a name="methodget_image_size" id="get_image_size"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_image_size</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3523">3523</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return size of image file</p>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			get_image_size
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
				</ul>
		
		
	</div>
<a name="methodget_mod_rewrite_url" id="get_mod_rewrite_url"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_mod_rewrite_url</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3964">3964</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get url for mod_rewrite</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			get_mod_rewrite_url
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$prefix</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">""</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$invert_prefix</span> = <span class="var-default">false</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$extension</span> = <span class="var-default">".html"</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$prefix</span><span class="var-description">: prefix of URL</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$invert_prefix</span><span class="var-description">: if true, use prefix and id as suffix</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$extension</span><span class="var-description">: file extention</span>			</li>
				</ul>
		
		
	</div>
<a name="methodget_user_var" id="get_user_var"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_user_var</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a995">995</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">returns value of special variable type from user input  (If register_globals is Off (default since 4.2.0), this function  can be used, to handle user variables (insecure variables).</p>
<p class="description"><p>You can use more than one type (seperated with &quot;,&quot;)  DBSESSION only works if dbsession_start has been called before.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> value of variable or &quot;&quot;, if invalid</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			get_user_var
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$var_name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$var_type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$var_name</span><span class="var-description">: name of variable</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$var_type</span><span class="var-description">: type of variable (POST, GET, COOKIE, SCRIPT, SESSION or DBSESSION)                                 (note: SCRIPT means, declared variable above the function)</span>			</li>
				</ul>
		
		
	</div>
<a name="methodhitcounter" id="hitcounter"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">hitcounter</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2710">2710</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">hit counter for web pages  Required    : every line in filename is a keyword, first line is the description                (first line with quotes!!!)</p>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			hitcounter
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$r</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$db_open</span> = <span class="var-default">false</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$CONF</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: id string</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$r</span><span class="var-description">: true:  reload allowed                                 false: reload disallowed {default}</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$db_open</span><span class="var-description">: true:  database connection aready open                                 false: no database connection open, open one</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$CONF</span><span class="var-description">: CONF database array, if empty use counterconfig.php                                 (have to be in same directory as cphplib.inc)</span>			</li>
				</ul>
		
		
	</div>
<a name="methodhtml_head" id="html_head"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">html_head</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3796">3796</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Write HTML head</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			html_head
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$customize</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$customize</span><span class="var-description">: title                                 charset                                 no_cache                                 lang                                 seo                                 with_header                                 print</span>			</li>
				</ul>
		
		
	</div>
<a name="methodhtml_header" id="html_header"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">html_header</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3759">3759</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Setup HTML header</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			html_header
		</span>
					([<span class="var-type">array</span>&nbsp;<span class="var-name">$customize</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$customize</span><span class="var-description">: charset        set charset                                 no_cache    if true, page will not be cachable                                 gzip        if true, gzip compression will be used</span>			</li>
				</ul>
		
		
	</div>
<a name="methodin_multi_array" id="in_multi_array"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">in_multi_array</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1145">1145</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">search needle in multi array</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			in_multi_array
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$needle</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$haystack</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$needle</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$haystack</span>			</li>
				</ul>
		
		
	</div>
<a name="methodjs_conv" id="js_conv"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">js_conv</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3912">3912</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert string to javascript compatible output</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			js_conv
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$string</span>			</li>
				</ul>
		
		
	</div>
<a name="methodkillSpace" id="killSpace"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">killSpace</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1325">1325</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes all whitespaces in a string</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			killSpace
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span>			</li>
				</ul>
		
		
	</div>
<a name="methodmetatag_write" id="metatag_write"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">metatag_write</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2637">2637</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">prints a meta description and meta keywords line for xhtml  Required    : every line in filename is a keyword, first line is the description                (first line with quotes!!!)</p>
	<ul class="tags">
				<li><span class="field">return:</span> if mode is false, array with text and keywords</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			metatag_write
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span><span class="var-description">: filename with keywords</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: true: print it as meta tags {default}                                 false: return array with text and keywords</span>			</li>
				</ul>
		
		
	</div>
<a name="methodnet_access" id="net_access"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">net_access</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3589">3589</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">check, if client IP or hostname is in access list</p>
	<ul class="tags">
				<li><span class="field">return:</span> true    : access                             false    : no access</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			net_access
		</span>
					([<span class="var-type">array</span>&nbsp;<span class="var-name">$hosts</span> = <span class="var-default">null</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$ips</span> = <span class="var-default">null</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">"client"</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$hosts</span><span class="var-description">: array with hostnames, which have access</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$ips</span><span class="var-description">: array with ips, which have access</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: client, client ips (REMOTE_ADDR) {default}                             server, client ips (SERVER_ADDR)                             referrer (HTTP_REFERER)</span>			</li>
				</ul>
		
		
	</div>
<a name="methodos_type" id="os_type"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">os_type</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2935">2935</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">returns type of operating system</p>
	<ul class="tags">
				<li><span class="field">return:</span> w = Windows                     m = Mac                     l = Linux                     u = Unix <ul><li>= OS/2</li></ul>                    &quot;&quot; = unknown</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">char</span>
		<span class="method-name">
			os_type
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: true for server os,                             false for client os {default: false}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodpager" id="pager"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">pager</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3656">3656</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">pager (navigation) for list</p>
	<ul class="tags">
				<li><span class="field">return:</span> html string for paper</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			pager
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$current_entry</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$max_entries</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$page_entries</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$image_url</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: link for urls</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$current_entry</span><span class="var-description">: current page number for navigation</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$max_entries</span><span class="var-description">: highest page number in navigation</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$page_entries</span><span class="var-description">: entries per page {default: $this-&gt;page_entries}</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$image_url</span><span class="var-description">: overwrite global image url</span>			</li>
				</ul>
		
		
	</div>
<a name="methodrand_value" id="rand_value"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">rand_value</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3190">3190</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">generate rand string/number with specified length</p>
	<ul class="tags">
				<li><span class="field">return:</span> generated rand string, on error &quot;&quot;</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			rand_value
		</span>
					([<span class="var-type">int</span>&nbsp;<span class="var-name">$length</span> = <span class="var-default">1</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">""</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$length</span><span class="var-description">: length of chars/numbers for return</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$values</span><span class="var-description">: string with all allowed characters/numbers</span>			</li>
				</ul>
		
		
	</div>
<a name="methodremove_magic_quotes" id="remove_magic_quotes"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">remove_magic_quotes</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a972">972</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">removes magic quotes</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			remove_magic_quotes
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">&$array</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$array</span>			</li>
				</ul>
		
		
	</div>
<a name="methodrgb2dec" id="rgb2dec"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">rgb2dec</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3564">3564</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convert rgb to decimal color code</p>
	<ul class="tags">
				<li><span class="field">return:</span> decimal color code</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			rgb2dec
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$rgbstr</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$rgbstr</span><span class="var-description">: rgb string</span>			</li>
				</ul>
		
		
	</div>
<a name="methodset_format" id="set_format"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">set_format</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a261">261</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set date and time format to cphplib</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			set_format
		</span>
					(<span class="var-type">char</span>&nbsp;<span class="var-name">$date_format</span>, <span class="var-type">char</span>&nbsp;<span class="var-name">$time_format</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$date_format</span><span class="var-description">: see $this-&gt;date_format for valid values</span>			</li>
					<li>
				<span class="var-type">char</span>
				<span class="var-name">$time_format</span><span class="var-description">: see $this-&gt;time_format for valid values</span>			</li>
				</ul>
		
		
	</div>
<a name="methodset_locale" id="set_locale"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">set_locale</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a223">223</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set locale</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			set_locale
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methodset_strings" id="set_strings"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">set_strings</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a271">271</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set strings for pager and Date methods</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			set_strings
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methodshow_dbdate" id="show_dbdate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">show_dbdate</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1292">1292</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get date from db-date format  (short form of convDate)</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			show_dbdate
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$dbdate</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$short_mode</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$dbdate</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$short_mode</span>			</li>
				</ul>
		
		
	</div>
<a name="methodshow_dbdatetime" id="show_dbdatetime"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">show_dbdatetime</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1314">1314</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get Datetime from db-date format  (short form of convDate)</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			show_dbdatetime
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$dbdate</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$with_seconds</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$short_mode</span> = <span class="var-default">true</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$at</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$dbdate</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$with_seconds</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$short_mode</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$at</span>			</li>
				</ul>
		
		
	</div>
<a name="methodshow_error" id="show_error"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">show_error</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3929">3929</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Show cphplib error</p>
<p class="description"><p>like error_level is defined</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			show_error
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$function</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$message</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$rc</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$function</span><span class="var-description">: cphplib function name</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$message</span><span class="var-description">: error message</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$rc</span><span class="var-description">: return code</span>			</li>
				</ul>
		
		
	</div>
<a name="methodsql_value" id="sql_value"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">sql_value</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a2477">2477</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Envelops a string with quotes (for db INSERT,UPDATES or SELECT)</p>
	<ul class="tags">
				<li><span class="field">return:</span> converted string</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			sql_value
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$conv_special_char</span> = <span class="var-default">false</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$active_null</span> = <span class="var-default">1</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: string to convert</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$conv_special_char</span><span class="var-description">: convert special charactar to html convention                                         (great helper to secure SQL strings) {default: false}                                          (conv_special_char is not recomended for an INSERT or UPDATE SQL string)</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$active_null</span><span class="var-description">: 0: deactive NULL value                                         1: active NULL value                     {default}                                         2: active NULL value, with 0 is invalid</span>			</li>
				</ul>
		
		
	</div>
<a name="methodtable_header" id="table_header"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">table_header</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a4095">4095</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">table header for all tables with optional sort support</p>
	<ul class="tags">
				<li><span class="field">return:</span> html output</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			table_header
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$cols</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$default_col</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sort</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$base_url</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$customize</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$cols</span><span class="var-description">: colomns array</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$default_col</span><span class="var-description">: default colomn</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sort</span><span class="var-description">: sort order</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$base_url</span><span class="var-description">: base url for all links</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$customize</span><span class="var-description">: bool    $static            true:    don't use sort header                                                               false:    sort header                        {default}                                      bool    $use_th            true: th for table vill be used            {default}                                                              false: td for table will be used                                     int        $max_entries    if &gt; 0: static mode, if max_entries &lt; 2 {default: 2}                                     string    $mask            if exists, it will be added on the end of the URL, e.g #mask                                      string    $tr_class        CSS class for TR                                      string    $th_class        CSS class for TD/TH</span>			</li>
				</ul>
		
		
	</div>
<a name="methodtext_shorten" id="text_shorten"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">text_shorten</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3542">3542</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">shorten text to given length for display</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			text_shorten
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$max_length</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$dots</span> = <span class="var-default">"..."</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span><span class="var-description">: text string</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$max_length</span><span class="var-description">: maximum lenght of text</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$dots</span><span class="var-description">: hars for dots {default: ...}</span>			</li>
				</ul>
		
		
	</div>
<a name="methodurl" id="url"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">url</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a915">915</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">prints url as html tag  (this function can only handle the session_id, if dbsession_start has  been called immediately after creating the class object)</p>
	<ul class="tags">
				<li><span class="field">return:</span> created url</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			url
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">""</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">1</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span> = <span class="var-default">""</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$customize</span> = <span class="var-default">""</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: url</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: name of url {default: url}</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$mode</span><span class="var-description">: 0: no session_id                                 1: with session_id if required {default: 1}                                 2: just url with session_id (without TAG)                                 3: just url with session_id (without TAG), but with delimiter &amp;amp; instead of &amp;                                 4: with session_id (always)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span><span class="var-description">: url title (hover text)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$customize</span><span class="var-description">: other parameters like target, style or class</span>			</li>
				</ul>
		
		
	</div>
<a name="methodurl_on_scripthost" id="url_on_scripthost"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">url_on_scripthost</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a3040">3040</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">checks if specified url is on script server  (on the host where your scripts are)</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if it is on host</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			url_on_scripthost
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span>			</li>
				</ul>
		
		
	</div>
<a name="methodvalidate_timestamp" id="validate_timestamp"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">validate_timestamp</span> (line <span class="line-number"><a href="..//__filesource/fsource_cphplib__cphplib.inc.html#a1348">1348</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">validate given date</p>
	<ul class="tags">
				<li><span class="field">return:</span> timestamp with valid date, if invalid input datas, return timestamp will                                 be return the nearest valid date</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">timestamp</span>
		<span class="method-name">
			validate_timestamp
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$timestamp</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$timestamp</span><span class="var-description">: array of date for validating or timestamp                                     array keys:    timestamp['year']                                               timestamp['month']                                                 timestamp['day']                                                timestamp['hour']                                                  timestamp['minute']                                                   timestamp['second']</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: if true, input date is a timestamp {default: false}</span>			</li>
				</ul>
		
		
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 11 Nov 2005 10:39:55 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>